package kr.co.doriclassic.dataEx;

public class QueuTest {
	public static void main(String[] args) {
		int size=3;
		Queu queu = new Queu(size);
		queu.push("a");
		queu.prnStack();
		queu.push("b");
		queu.prnStack();
		queu.push("c");
		queu.prnStack();
		
		
		
		for (int i = 0; i < size; i++) {
			System.out.println(""+queu.pop()+" 제거함");
			queu.prnStack();
		}	
	}
}
